package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Travel;
import cn.wolfcode.luowowo.article.domain.TravelContent;
import cn.wolfcode.luowowo.common.query.QueryObject;
import cn.wolfcode.luowowo.common.util.AjaxResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelService {

    PageInfo query(QueryObject qo);

    TravelContent getContent(Long id);

    void updateState(Integer state, Long id);

    Travel get(Long id);

    List<Travel> listViewnumTop3(Long destId);

    AjaxResult saveOrUpdate(Travel travel);


    List<Travel> list();

}
